<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.net.URLDecoder"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'succ.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   欢迎您：${mess1 } <br>
   
   <%=new String (request.getParameter("par").getBytes("ISO-8859-1"),"utf-8")%>
   
  
   <br>请输入您的生日：
   <form action="BirthAction" method="post">
   年<select name="y">
   <%for(int i = 1912 ;i<2012;i++){%>
   <option><%=i %></option>
   <%}%>
   </select>
   
   月<select name="m">
   <%for(int i = 1 ;i<13;i++){%>
   <option><%=i %></option>
   <%}%>
   </select>
   
   日<select name="d">
   <%for(int i = 1 ;i<32;i++){%>
   <option><%=i %></option>
   <%}%>
   </select>
   <input type="submit" value="提交"> 
   </form>
  </body>
</html>
